<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>新增考试</title>
    <style>
        tr {
            text-align: center;
        }
        .a1{
            text-align: center;
        }
        .a2{
                     text-align: center;
                 }
    </style>
</head>
<body>
<h3 align="center">新增考试</h3>
<form action="/admin/addExam.do">
    <table width="400px" border="1px" align="center">

        <tr>
            <td>课程号</td>
            <td><input type="text" name="courseId"></td>
        </tr>
        <tr>
            <td>班级号</td>
            <td><input type="text" name="classId"></td>
        </tr>
        <tr>
            <td>开始时间/td>
            <td><input type="text" name="startTime"></td>
        </tr>
        <tr>
            <td>结束时间/td>
            <td><input type="text" name="endTime"></td>
        </tr>
        <tr>
            <td colspan="2"><input type="submit" value="提交"></td>
        </tr>
    </table>
</form>

<div class="a1">
    <h1>随机分配教室</h1>
    <form action="/admin/randomClassroom.do">
        <p><label>考试数 必须一致</label><input name="range"></p>
        <p><button type="submit">随机教室</button> </p>
    </form>
</div>
<div CLASS="a2">
    <h1>随机分配老师</h1>
    <form action="/admin/randomTeacher.do">
        <p><label>考试数 必须一致</label><input name="range"></p>
        <p><button type="submit">随机老师</button> </p>
    </form>
</div>
</body>
</html>